//
//  JDNavigationController.swift
//  funcode
//
//  Created by Wan Jiading on 2016/11/23.
//  Copyright © 2016年 WanJiading. All rights reserved.
//

import UIKit

class JDNavigationController: UINavigationController, UINavigationControllerDelegate {
	
//	var interactiveTransition: UIPercentDrivenInteractiveTransition!
//	
//    override func viewDidLoad() {
//        super.viewDidLoad()
//
//		self.delegate = self
//    }
//    
//	func navigationController(_ navigationController: UINavigationController, animationControllerFor operation: UINavigationControllerOperation, from fromVC: UIViewController, to toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? {
//		
//		if operation == UINavigationControllerOperation.pop {
//			DebugLog("UINavigationControllerOperation.pop")
//			return POPAnimation()
//		} else if operation == UINavigationControllerOperation.push {
//			DebugLog("UINavigationControllerOperation.push")
//			return PushAnimation()
//		}
//		
//		return nil
//	}
//	
//	func navigationController(_ navigationController: UINavigationController, interactionControllerFor animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? {
//		
//		if animationController.isKind(of: POPAnimation.classForCoder()) {
//			return interactiveTransition
//		}
//		
//		return nil
//	}
	
}
